package com.yumeng.ui.bean;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author wxd
 * @date 2024/11/4 21:12
 */
@Getter
@Setter
@AllArgsConstructor
public class TestVo {

    public static List<TestVo> initTestData(){
        LocalDateTime now = LocalDateTime.now();

        List<TestVo> list = new ArrayList<>();
/*        list.add(new TestVo(111111111111L, "aa", 3, 0.3, now));
        list.add(new TestVo(222222222222L, "bb", 4, 0.4, now.plusHours(1)));
        list.add(new TestVo(333333333333L, "cc", 5, 0.5, now.plusHours(2)));
        list.add(new TestVo(4444444444444L, "dd", 6, 0.6, now.plusHours(3)));*/

        list.add(new TestVo(111111111111L, "aa", 3, 0.3, new Date(), now));
        list.add(new TestVo(222222222222L, "bb", 4, 0.4, new Date(), now.plusHours(1)));
        list.add(new TestVo(333333333333L, "cc", 5, 0.5, new Date(), now.plusHours(2)));
        list.add(new TestVo(4444444444444L, "dd", 6, 0.6, new Date(), now.plusHours(3)));

        return list;
    }

    private Long testId;
    private String strVal;
    private Integer intVal;
    private Double douVal;
    private Date dateVal;
    private LocalDateTime localDateTimeVal;
}
